# -*- coding: utf-8 -*-
# @Time : 2020/9/24 下午1:53
# @Author : cc
# @Description : 功能描述
# @Email : chenchen@starmerx.com
# @Project : djangoProject

from rest_framework import serializers
from polls.models import Question


class QuestionSerializers(serializers.ModelSerializer):

    class Meta:
        model = Question
        fields = ['question_text']
